Point to the new GtkWidget align and margin properties
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Sep 2010 05:01:09 +0000 (01:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Sep 2010 05:01:09 +0000 (01:01 -0400)
docs/reference/gtk/tmpl/gtkmisc.sgml
gtk/gtkalignment.c

index c3466bb6fd04789f8f0339432316727b8c8efbd7..434866014bdb953710c90d9f76494cd17aac7abf 100644 (file)
@@ -19,6 +19,11 @@ positioned within its allocated area. Note that if the widget is added to
 a container in such a way that it expands automatically to fill its
 allocated area, the alignment settings will not alter the widgets position.
 </para>
+<para>
+Note that the desired effect can in most cases be achieved by using the
+#GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
+on the child widget.
+</para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
index c8635539242c044f9653e79a1b97aae387a04018..9a85a91a1b503c0e197843771de59ca060d72ae8 100644 (file)
  * area. The values range from 0 (top or left) to 1 (bottom or right).
  * Of course, if the scale settings are both set to 1, the alignment settings
  * have no effect.
+ *
+ * Note that the desired effect can in most cases be achieved by using the
+ * #GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
+ * on the child widget.
  */
 
 #include "config.h"